package io.renren.wh.merchant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.wh.merchant.entity.MerchantKeyEntity;
import io.renren.wh.merchant.vo.MerchantChannelRateVo;

import java.util.List;
import java.util.Map;

public interface MerchantKeyService extends IService<MerchantKeyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    MerchantKeyEntity queryByeAppId(String appId);

    MerchantKeyEntity queryByMerchantId(Integer merchantId);

    List<MerchantChannelRateVo> getChannelRateInfo(Integer merchantId);

    MerchantKeyEntity selectByUserName(String userName);
}

